package infra.bean;


import org.apache.kandula.coordinator.CoordinationContext;
import org.apache.kandula.coordinator.ba.initiator.AbstractCoordinatorIProxy;


/**
 * Javabean TransacaoPedidoServicoBean.
 * 
 * @author Maisa Penha
 */
public class ControleTransacaoOrdemDeCompraBean {
	
  
private controle.PedidoServicoBeanType pedidoServico;
   private CoordinationContext ctx;
   private int matchCode;
   private AbstractCoordinatorIProxy coordIProxy;
   
  
   /**
 * @return the coordIProxy
 */
public AbstractCoordinatorIProxy getCoordIProxy() {
	return coordIProxy;
}

/**
 * @param coordIProxy the coordIProxy to set
 */
public void setCoordIProxy(AbstractCoordinatorIProxy coordIProxy) {
	this.coordIProxy = coordIProxy;
}

/**
 * @return the matchcode
 */
public int getMatchCode() {
	return matchCode;
}

/**
 * @param matchcode the matchcode to set
 */
public void setMatchCode(int matchCode) {
	this.matchCode = matchCode;
}

public ControleTransacaoOrdemDeCompraBean(
		   controle.PedidoServicoBeanType pedidoServico,
		   CoordinationContext ctx, int matchCode,
		   AbstractCoordinatorIProxy coord){
	   this.ctx = ctx;
	   this.pedidoServico = pedidoServico;
		   this.matchCode = matchCode;
		   this.coordIProxy = coord;
   }

/**
 * @return the idPedidoServico
 */
public controle.PedidoServicoBeanType getPedidoServico() {
	return pedidoServico;
}
/**
 * @param idPedidoServico the idPedidoServico to set
 */
public void setIdPedidoServico(controle.PedidoServicoBeanType pedidoServico) {
	this.pedidoServico = pedidoServico;
}
/**
 * @return the ctx
 */
public CoordinationContext getCtx() {
	return ctx;
}
/**
 * @param ctx the ctx to set
 */
public void setCtx(CoordinationContext ctx) {
	this.ctx = ctx;
}

}
